﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
using Microsoft.CloudSaver.Web.Infrastructure;

namespace Microsoft.CloudSaver.Web.Account
{
    public partial class Login : LocalizedPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void loginForm_LoggedIn(object sender, EventArgs e)
        {
            //First login sets up personal folders of the user
            CloudUtils.SetupPersonalFolder(loginForm.UserName);
        }

        protected void loginForm_LoggingIn(object sender, LoginCancelEventArgs e)
        {
            loginForm.UserName = loginForm.UserName.ToLower();
        }

        

        
    }
}
